
<?php
if ($_CONTROL->File) {
    if ($_CONTROL->Enabled){
        $_CONTROL->btnDelete->Render();
        print ("&nbsp;&nbsp;");
        $_CONTROL->btnDownload->Render();
    }
}
else{
    if ($_CONTROL->Enabled)
        $_CONTROL->btnUpload->Render();
}

?>
<?php if ($_CONTROL->Enabled)
        $_CONTROL->dlgFileAsset->Render();

        echo ' X=' . $_CONTROL->X;
        $_CONTROL->X +=1;

        $_CONTROL->ChangeTabifNeeded();
//QApplication::DisplayAlert("MS");
?>
